#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QErrorMessage>
#include <QComboBox>

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}


MainWindow::~MainWindow()
{
    delete ui;
}


void MainWindow::on_goButton_clicked()
{
    QErrorMessage* err = new QErrorMessage(this);
    err->showMessage(ui->comboBox_1->currentText().trimmed() + " " + ui->comboBox_2->currentText().trimmed());
}
